home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmListDeletePositions.z
/
XmListDeletePositions
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmLLLLiiiissssttttDDDDeeeelllleeeetttteeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLiiiissssttttDDDDeeeelllleeeetttteeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttDDDDeeeelllleeeetttteeeePPPPoooossssiiiittttiiiioooonnnnssss - A List function that deletes items
from a list based on an array of positions
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/List.h>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttDDDDeeeelllleeeetttteeeePPPPoooossssiiiittttiiiioooonnnnssss(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
iiiinnnntttt ****ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt,
iiiinnnntttt ppppoooossssiiiittttiiiioooonnnn____ccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttDDDDeeeelllleeeetttteeeePPPPoooossssiiiittttiiiioooonnnnssss deletes noncontiguous items from a
list. The function deletes all items whose corresponding
positions appear in the _p_o_s_i_t_i_o_n__l_i_s_t array. A warning
message is displayed if a specified position is invalid;
that is, the value is 0, a negative integer, or a number
greater than the number of items in the list.
_w_i_d_g_e_t Specifies the ID of the List widget
_p_o_s_i_t_i_o_n__l_i_s_t
Specifies an array of the item positions to be
deleted. The position of the first item in the
list is 1; the position of the second item is 2;
and so on.
_p_o_s_i_t_i_o_n__c_o_u_n_t
Specifies the number of elements in the
_p_o_s_i_t_i_o_n__l_i_s_t.
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmLLLLiiiisssstttt(3).
Page 1 (printed 10/24/98)